package com.zlx.mall.basic.common.exception;


import com.zlx.mall.basic.common.enums.ResponseEnum;

/**
 * @author qingke
 **/
public class IllegalRequestArgumentException extends IllegalBizArgumentException {

    private static final ResponseEnum DEFAULT_STATUS = BaseResponseStatusEnum.ILLEGAL_REQUEST_ARGUMENT;

    public IllegalRequestArgumentException(String message) {
        super(DEFAULT_STATUS.getCode(), message);
    }

    public IllegalRequestArgumentException(Throwable cause) {
        super(DEFAULT_STATUS, cause);
    }

    public IllegalRequestArgumentException(String message, Throwable cause) {
        super(DEFAULT_STATUS.getCode(), message, cause);
    }

}
